<?php
/**
 * User: hjd-yao
 * Date: 2019/1/23
 * Time: 13:33
 */

namespace App\Helpers\Encrypt;


class BaseEncrypt
{
    public  function getAppKey()
    {
       // $key = substr(config('app.key'), 7);
        $key = config('encrypt.secret_token');
        return substr($key,config('encrypt.token_pos'),config('encrypt.token_len'));
    }
}